const financeColumns = {
  contract: [
    {
      title: '顾问/组别/组长',
      dataIndex: 'adviser_name',
      scopedSlots: { customRender: 'adviser_name' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '总金额',
      dataIndex: 'amount',
      sorter: true
    },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      sorter: true
    },
    {
      title: '尾款',
      dataIndex: 'tail_money',
      sorter: true
    },
    {
      title: '合同状态',
      dataIndex: 'status',
      scopedSlots: { customRender: 'status' }
    },
    {
      title: '审核人',
      dataIndex: 'checker'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time',
      sorter: true
    },
    {
      title: '审核信息',
      dataIndex: 'check_notes'
    },
    // {
    //   title: '创建时间',
    //   dataIndex: 'created_at',
    //   sorter: true
    // },
    {
      title: '提交时间',
      dataIndex: 'submit_check_time',
      sorter: true
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  refund: [
    {
      title: '顾问',
      dataIndex: 'adviser_name'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '退款金额'
    },
    {
      title: '扣除代理费'
    },
    {
      title: '退款理由'
    },
    {
      title: '退款申请单'
    },
    {
      title: '客户沟通截图'
    },
    {
      title: '退款时间',
      sorter: true
    },
    {
      title: '退款截图'
    },
    {
      title: '提交时间',
      sorter: true
    },
    {
      title: '状态'
    },
    {
      title: '操作'
    }
  ],
  business: [
    {
      title: '业务编号',
      dataIndex: 'business_no',
      scopedSlots: { customRender: 'business_no' }
    },
    {
      title: '业务分类',
      dataIndex: 'category'
    },
    {
      title: '业务名称',
      dataIndex: 'name'
    },
    {
      title: '费用',
      dataIndex: 'price',
      scopedSlots: { customRender: 'price' }
    },
    {
      title: '官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' }
    },
    {
      title: '已付成本',
      dataIndex: 'cost_fee',
      scopedSlots: { customRender: 'cost_fee' }
    },
    // {
    //   title: '付款时间',
    //   dataIndex: 'payment_time',
    //   scopedSlots: { customRender: 'payment_time' }
    // },
    {
      title: '附加内容',
      dataIndex: 'additional_content',
      scopedSlots: { customRender: 'additional_content' }
    },
    {
      title: '业务状态',
      dataIndex: 'status1',
      scopedSlots: { customRender: 'status1' },
      width: '120px'
    }
  ],
  paid_official: [
    {
      title: '已付成本',
      dataIndex: 'paid',
      scopedSlots: { customRender: 'paid' }
    },
    {
      title: '付款时间',
      dataIndex: 'pay_time',
      scopedSlots: { customRender: 'pay_time' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  payment: [
    {
      title: '打款ID',
      dataIndex: 'payment_id',
      scopedSlots: { customRender: 'payment_id' },
      width: '80px'
    },
    {
      title: '审核人',
      dataIndex: 'checker',
      width: '100px'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time',
      scopedSlots: { customRender: 'check_time' },
      width: '180px'
    },
    {
       title: '打款时间',
      dataIndex: 'payment_time',
      width: '140px'
    },
    {
      title: '收款账户',
      dataIndex: 'receive_account_type',
      width: '200px',
      ellipsis: true
    },
    {
      title: '打款账号',
      dataIndex: 'payment_account',
      width: '140px',
      ellipsis: true
    },
    {
      title: '打款证明',
      dataIndex: 'img',
      scopedSlots: { customRender: 'img' },
      width: '100px'
    },
    {
      title: '打款金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' },
      width: '130px'
    },
    {
      title: '打款备注',
      dataIndex: 'remarks',
      scopedSlots: { customRender: 'remarks' },
      ellipsis: true
    }
  ],
  address: [
    {
      title: '客户姓名',
      dataIndex: 'name'
    },
    {
      title: '客户电话',
      dataIndex: 'phone'
    },
    {
      title: '客户联系地址',
      dataIndex: 'address'
    },
    {
      title: '物流名称',
      dataIndex: 'logistics_name'
    },
    {
      title: '物流单号',
      dataIndex: 'logistics_no'
    }
  ],
  history: [
    {
      title: '审核人',
      dataIndex: 'username'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time'
    },
    {
      title: '审核结果',
      dataIndex: 'check_result'
    },
    {
      title: '备注',
      dataIndex: 'notes'
    }
  ],
  refund_info: [
    {
      title: '退款ID'
    },
    {
      title: '退款金额'
    },
    {
      title: '扣除代理费'
    },
    {
      title: '退款理由'
    },
    {
      title: '退款申请单'
    },
    {
      title: '客户沟通截图'
    },
    {
      title: '审核信息'
    },
    {
      title: '状态'
    },
    {
      title: '操作'
    }
  ],
  ext_columns: [
    {
      title: '序号',
      dataIndex: 'xu',
      scopedSlots: { customRender: 'xu' }
    },
    {
      title: '所属业务ID',
      dataIndex: 'cb_id',
      scopedSlots: { customRender: 'cb_id' }
    },
    {
      title: '附加项',
      dataIndex: 'name'
    },
    {
      title: '附加项数量',
      dataIndex: 'count'
    },
    {
      title: '附加项单价',
      dataIndex: 'price'
    },
    {
      title: '附加项小计',
      dataIndex: 'amount'
    }
  ]
}

export default financeColumns
